Contains Method (TKey, TValue)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks to see if value is associated with key in the dictionary.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public bool Contains(
	TKey key,
	TValue value
)
Visual Basic (Declaration)
Public Function Contains ( _
	key As TKey, _
	value As TValue _
) As Boolean
Visual C++
public:
virtual bool Contains (
	TKey key, 
	TValue value
) sealed

Parameters

key
TKey
The key to check.
value
TValue
The value to check.

Return Value

True if value is associated with key.

See Also